home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wayzata's Best of Shareware PC/Windows 2
/
Wayzata's Best of Shareware 2.0 (Windows) (Wayzata Technology)(7112)(1994).bin
/
pc
/
dos
/
telecomm
/
gapmail
/
gapmail.rs
next >
Wrap
Text File
|
1992-03-05
|
1KB
|
48 lines
;
;GAPMAIL.RS
;
;Generic script to handle mail transfers on GAP bbs systems
;
;Usage is fairly straight forward and simple...allow ROBO to
;handle your normal log in procedure, then call this batch file
;to do the mail run
;
;Start-up when it dumps you to main command
;
SEND "|"
;
;Let's see if we have a reply file for the bbs...
;
IF EXIST "%REPDIR%%ID%.REP" GOSUB SEND_REP
;
;Let's GET OUR MAIL!
;
WAITFOR "Main Board Command : "
SEND "QWK|"
WHEN "continue" SEND "Y|"
WHEN "Member of (Y/n)" SEND "Y|"
WAITFOR "QWK Packet Now"
DOWNLOAD "%QWKDIR%" USING "ZMODEM"
WAITFOR "Main Board Command : "
goto endit
;
;Subroutine to send an existing reply file
;
:send_rep
MESSAGE "SENDING UP A REPLY!"
;Checking for and deleting any OLD file...
IF EXIST "%REPDIR%%ID%.OLD" ERASE "%REPDIR%%ID%.OLD"
WAITFOR "Main Board Command : "
SEND "REP|"
WHEN "continue" SEND "Y|"
WHEN "(Y/n)" SEND "Y|"
WAITFOR "è"
UPLOAD "%REPDIR%%ID%.REP" USING "ZMODEM"
RENAME "%REPDIR%%ID%.REP" to "%REPDIR%%ID%.OLD"
RETURN
;
:endit
;
Exit 0